import request from '../http.js'

// 获取商家二维码数据
export const merchantWxaCode = data => {
	return request({
			url: `/merchant/wxaCode`,
			method: 'POST',
			data
	})
}

// 获取商家优惠券
export const couponList = data => {
	return request({
			url: `/merchant/couponList`,
			method: 'GET',
			data
	})
}

// 获取商家余额明细
export const balanceRecordList = data => {
	return request({
			url: `/merchant/balanceRecordList`,
			method: 'GET',
			data
	})
}

// 获取商家充值套餐
export const rechargeActivityList = data => {
	return request({
			url: `/merchant/rechargeActivityList`,
			method: 'GET',
			data
	})
}

// 商家充值
export const merchantRecharge = data => {
	return request({
			url: `/alipay/pay/merchantRecharge`,
			method: 'POST',
			data
	})
}